<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/styles/style.css" />
<link type="text/css" href="${pageContext.request.contextPath }/scripts/jquery-ui-1.8.16.custom/css/sunny/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<title>Order Page</title>
</head>
<body>
	
	<jsp:include page="parts/header.jsp"/>
	


	<div id="main" class="ui-widget-content form_pad">
		<jsp:include page="parts/choiceBar.jsp"></jsp:include>
		
		<div id="content">
		<h3>${room.article}</h3>
		<hr/>
		
		<form action="${pageContext.request.contextPath}/controller" method="post">
			<input type="hidden" name="command" value="createBill"/>
			<input type="hidden" name="roomId" value="${room.hotelRoomId}">
				<table id="roomData">
					<tr>
						<th>Class room</th>
						<th>Price/day</th>
						<th>Status</th>
						<th>Arrival date</th>
						<th>Departure date</th>
					</tr>
					<tr>
						<td>${room.classRoom}</td>
						<td>${room.price}</td>
						<td>${room.status}</td>
						<td>
							<input type="text" name="arrivalDate" id="arrivalTime" class="inputTime"/>
						</td>
						<td>
							<input type="text" name="departureDate" id="departureDate" class="inputTime"/>
						</td>
					</tr>
					<tr>
						<td>
							<h4>Comment:</h4>
							<textarea name="comment" id="commentTextAreaOrder"></textarea>
						</td>
					</tr>
				</table>
					<input type="submit" name="Make order"/>
			</form>
			<br/>
			
		</div>
		
		
	</div>
	<jsp:include page="parts/footer.jsp"/>
	
	<script src="${pageContext.request.contextPath }/scripts/jquery-1.7.min.js"></script>
	<script src="${pageContext.request.contextPath }/scripts/jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/scripts/myScript.js"></script>
</body>
</html>